PRISM

Benchmark
Model:consensus v.1 (MDP)
Parameter(s)N = 2, K = 4
Property:steps_min (exp-reward)
Invocation (default)
../fix-syntax ../prism -javamaxmem 11g -cuddmaxmem 4g -heuristic speed -e 1e-6 -maxiters 1000000 consensus.2.prism consensus.props --property steps_min -const K=4
Execution
Walltime:1.26887845993042s
Return code:0
Relative Error:0.0001503361678953125
Log
PRISM
=====

Version: 4.5.dev
Date: Fri Feb 26 16:40:56 CET 2021
Hostname: christopher
Memory limits: cudd=4g, java(heap)=11g
Command line: prism -javamaxmem 11g -cuddmaxmem 4g -heuristic speed -e 1e-6 -maxiters 1000000 consensus.2.prism consensus.props --property steps_min -const K=4

Parsing model file "consensus.2.prism"...

Type:        MDP
Modules:     process1 process2 
Variables:   counter pc1 coin1 pc2 coin2 

Parsing properties file "consensus.props"...

5 properties:
(1) "c1": P>=1 [ F "finished" ]
(2) "c2": Pmin=? [ F "finished"&"all_coins_equal_1" ]
(3) "disagree": Pmax=? [ F "finished"&!"agree" ]
(4) "steps_max": R{"steps"}max=? [ F "finished" ]
(5) "steps_min": R{"steps"}min=? [ F "finished" ]

---------------------------------------------------------------------

Model checking: "steps_min": R{"steps"}min=? [ F "finished" ]
Model constants: K=4

Warning: Switching to sparse engine and (backwards) Gauss Seidel (default for heuristic=speed).

Building model...
Model constants: K=4

Computing reachable states...

Reachability (BFS): 73 iterations in 0.00 seconds (average 0.000027, setup 0.00)

Time for model construction: 0.015 seconds.

Type:        MDP
States:      528 (1 initial)
Transitions: 972
Choices:     784

Transition matrix: 391 nodes (3 terminal), 972 minterms, vars: 11r/11c/2nd

Prob0A: 29 iterations in 0.00 seconds (average 0.000069, setup 0.00)

Prob1E: 30 iterations in 0.00 seconds (average 0.000067, setup 0.00)

Warning: PRISM hasn't checked for zero-reward loops.
Your minimum rewards may be too low...

goal = 8, inf = 0, maybe = 520

Computing remaining rewards...
Engine: Sparse

Building sparse matrix (transitions)... [n=528, nc=776, nnz=964, k=2] [16.4 KB]
Building sparse matrix (transition rewards)... [n=528, nc=776, nnz=0, k=2] [5.1 KB]
Creating vector for state rewards... [4.1 KB]
Creating vector for inf... [4.1 KB]
Allocating iteration vectors... [2 x 4.1 KB]
TOTAL: [38.0 KB]

Starting iterations...

Iterative method: 1366 iterations in 0.01 seconds (average 0.000007, setup 0.00)

Value in the initial state: 191.9711354557641

Time for model checking: 0.016 seconds.

Result: 191.9711354557641 (value in the initial state)


Overall running time: 0.255 seconds.

---------------------------------------------------------------------

Note: There were 2 warnings during computation.